package com.yg.ssm.base.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;

/**
 * Created by zhgk on 2016/8/30 0030.
 */
public class JdbcDao {

    @Autowired
    private JdbcTemplate template;

    public void setTemplate(JdbcTemplate template) {
        this.template = template;
    }

    /***
     * 泛型支持
     * **/
    public void save(Object obj){

    }
    /***
     * 更新
     * **/
    public void update(Object obj){

    }

    /***
     * 删除
     * **/
    public void delete(Object obj){

    }

    /***
     * 更新删除
     * **/
    public void updateSQl(String sql,Object ...args){

    }




}
